import { AmbientLight, Object3D, PointLight, SpotLight } from 'three';


export const ambientLight: AmbientLight = new AmbientLight(`rgb(255,255,255)`, .3)
export const pointLight: PointLight = new PointLight(
    'rgb(255, 255, 255)',
    1,
    100,
    0.8
)
pointLight.position.set(40, 40, 40)

export const spotLight: SpotLight = new SpotLight(
    'rgb(255, 255, 255)',
    1,
    200,
    Math.PI / 2 ,
    0,
    0
)
spotLight.castShadow = true
spotLight.position.set(0, 100, 0)

export const lightList: Object3D[] = []
lightList.push(ambientLight, pointLight,spotLight)